<%@ page language="java"  pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>项目课题列表</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
    <link rel="stylesheet" href="../../css/vip.css" type="text/css">
    <SCRIPT language=JavaScript src="../../js/jquery.js"></SCRIPT>
    <SCRIPT language=JavaScript src="../../js/FoshanRen.js"></SCRIPT>
  <script language="JavaScript">
	function topage(page){
	var s="<s:url action='paperFormatPrint_query' namespace='/admin/paper'/>?queryCondition.paperTittle=<s:property value='queryCondition.paperTittle'/>"
    +"&queryCondition.publicationYear=<s:property value='queryCondition.publicationYear'/>"
    +"&queryCondition.author=<s:property value='queryCondition.author'/>"
    +"&queryCondition.keyWord=<s:property value='queryCondition.keyWord'/>"
    +"&queryCondition.journal=<s:property value='queryCondition.journal'/>"
    +"&queryCondition.conferencePaper=<s:property value='queryCondition.conferencePaper'/>"
    +"&page="+page;
	javascript:window.location.href=s;
	}
	function deleteItem(id){
	 if(confirm("你确定要删除")){
	    $.get("paperQuery_delete.action?paper.id="+id,
	    function(data){
	    $("#"+id).remove();
	    alert(data);
	    });
      }
    }
  </script>
<script type="text/javascript"charset="utf-8">
function test(){
Ext.Ajax.request({
url: "project_test.action",
success: function(response, config){
alert(config.url + "," + config.method);
Ext.MessageBox.alert("result", response.responseText);
},
failure: function(){
Ext.MessageBox.alert("result", "请求失败");
},
method: "post",
params: {name: "李赞红"}
});
}
</script>
  </head>
  
  <body>
  <s:form action="paperFormatPrint_query" namespace="/admin/paper"  method="post">
  <table width="98%" border="0" cellspacing="1" cellpadding="2" align="center">
  <tr ><td colspan="10"  bgcolor="6f8ac4" align="left">条件查询</td></tr>
  <tr>
  <td>论文题目</td><td><s:textfield name="queryCondition.paperTittle" size="17" maxlength="17"/></td>
  <td>发表年份</td><td><s:textfield name="queryCondition.publicationYear" size="17" maxlength="17"/></td>
  <td>作者</td><td><s:textfield name="queryCondition.author" size="17" maxlength="17"/></td>
  <td>第一作者</td><td><s:textfield name="queryCondition.firstAuthor" size="17" maxlength="17"/></td>
  </tr>
  <tr>
  <td>关键字</td><td><s:textfield name="queryCondition.keyWord" size="17" maxlength="17"/></td>
  <td>期刊论文</td><td><s:select headerValue="--请选择--" headerKey="" 
  list="#{'期刊论文':'全部','国际期刊':'国际期刊','一级期刊':'一级期刊','核心期刊':'核心期刊'}" name="queryCondition.journal"/></td>
  <td>会议论文</td><td><s:select headerValue="--请选择--" headerKey="" 
  list="#{'会议论文':'全部','国内会议':'国内会议','国际会议':'国际会议'}" name="queryCondition.conferencePaper"/></td>
  </tr>
   <tr> 
      <td bgcolor="f5f5f5" colspan="8" align="center">
      <div align="center"> 
          <input type="submit" class="frm_btn" value="查询">
          &nbsp;&nbsp;<input type="button" name="Button" value="返回" class="frm_btn" onclick="javascript:history.back()">
        </div>
      </td>
    </tr>
  </table>
  </s:form>
  <table width="98%" border="0" cellspacing="1" cellpadding="2" align="center">
    <tr ><td colspan="10"  bgcolor="6f8ac4" align="right">
    	<%@ include file="/WEB-INF/page/shared/fenye.jsp" %>
   </td></tr>
    <tr>
      <td width="20%" bgcolor="6f8ac4"> <div align="center"><font color="#FFFFFF">选择打印论文</font></div></td>
      <td width="20%" bgcolor="6f8ac4"> <div align="center"><font color="#FFFFFF">论文名称</font></div></td>
      <td width="7%" bgcolor="6f8ac4"> <div align="center"><font color="#FFFFFF">第一作者</font></div></td>
	  <td width="12%" nowrap bgcolor="6f8ac4"> <div align="center"><font color="#FFFFFF">发表年份</font></div></td>
	  <td width="7%" bgcolor="6f8ac4"><div align="center"><font color="#FFFFFF">论文状态</font></div></td>
	  <td width="6%" bgcolor="6f8ac4"><div align="center"><font color="#FFFFFF">论文类型</font></div></td>
    </tr>
    <s:form action="paperFormatPrint_print" namespace="/admin/paper" method="post">
    <s:iterator value="#pageView.records">
      <tr id="<s:property value='id'/>">
      <td bgcolor="f5f5f5"> <div align="center"> <input value="<s:property value="id"/>" type=checkbox name=paperId /></div></td>
      <td bgcolor="f5f5f5"> <div align="center"><s:property value="paperTittle"/></div></td>
	  <td bgcolor="f5f5f5"> <div align="center"><s:property value="firstAuthor"/></div></td>
	  <td bgcolor="f5f5f5"> <div align="center"><s:property value="publicationYear"/></div></td>
	  <td bgcolor="f5f5f5"> <div align="center"><s:property value="state"/></div></td>
	  <td bgcolor="f5f5f5"> <div align="center"><s:property value="paperType"/></div></td>
	</tr>
    </s:iterator>
    <tr>
     <td colspan="2"> <div align="center"> 
          <input type="submit" name="edit" value="选择提交打印" class="frm_btn">
          &nbsp;&nbsp;<input type="button" name="Button" value=" 返 回 " class="frm_btn" onclick="javascript:history.back()">
        </div></td>	
    </tr>
    </s:form>
  </table>
  </body>
</html>
